<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"  lang="en"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <title><?= $seo_title ?></title>
        <meta name="description" content="<?= $seo_description ?>">
        <meta name="keywords" content="<?= $seo_keywords ?>">

        <meta name="viewport" content="width=device-width, initial-scale=1.0">

        <link rel="shortcut icon" href="<?= base_url() ?>assets/img/favicon.png">

        <script src="<?= base_url() ?>assets/js/libs/modernizr-2.6.1.min.js"></script>

        <link href='http://fonts.googleapis.com/css?family=Lato:400,300,700,100italic' rel='stylesheet' type='text/css'>

        <link rel="stylesheet" href="<?= base_url() ?>assets/css/normalize.css">
        <link rel="stylesheet" href="<?= base_url() ?>assets/css/bootstrap.custom.min.css" media="screen">
        <link rel="stylesheet" href="<?= base_url() ?>assets/css/comp_all.css">
        <link rel="stylesheet" href="<?= base_url() ?>assets/css/main.css">
        <link rel="stylesheet" href="<?= base_url() ?>assets/css/responsive.css">

        <script type="text/javascript">
            var base_url = '<?= base_url(); ?>';
            var lang_url = '<?= lang_url(); ?>';
            var method = '<?= $this->router->fetch_method(); ?>';
            var HOST_URL_HOTELS = '<?= HOST_URL_HOTELS; ?>';
        </script>

    </head>
    <body id="<?= $this->router->fetch_method() ?>-body" class="body_<?= $this->lang->mci_current() ?>">

        <div class="container">
            <div id="headleft" class="pull-right">


                <div id="topnav" class="clearfix">
                    <ul class="clearfix pull-right">
                        <!--<li><span><?= date('d.m.Y, H:i', time()) ?>h<span></li>-->
                        <li><a href="<?= lang_url('cipatravel/about-32') ?>"><?= lang('top.about') ?></a></li>
                        <li><a href="<?= lang_url('cipatravel/customer-service-33') ?>"><?= lang('top.servcie'); ?></a></li>
                        <li><a href="javascript:"><span class="zastavica <?= $this->lang->mci_current() ?>"></span><?= lang('top.language'); ?></a>
                            <ul>

                                <?
                                    if (isset($_GET)) {

                                        $my_get = $_GET;

                                        if (isset($my_get['lang']))
                                            unset($my_get['lang']);

                                        if (!empty($my_get))
                                            $my_get = '?' . http_build_query($my_get);
                                        else
                                            $my_get = '';
                                    }else {
                                        $my_get = '';
                                    }
                                ?>

                                <li><a href="<?= base_url(lchange('en')) . $my_get ?>"><span class="zastavica en"></span>English</a></li>
                                <li><a href="<?= base_url(lchange('me')) . $my_get ?>"><span class="zastavica me"></span>Crnogorski</a>
                                <li><a href="<?= base_url(lchange('de')) . $my_get ?>"><span class="zastavica de"></span>Deutsch</a></li>
                                <li><a href="<?= base_url(lchange('ru')) . $my_get ?>"><span class="zastavica ru"></span>Rусский</a></li>

                        </li>
                    </ul>
                    </li>
                    </ul>
                </div><!-- / topnav-->

                <div id="social"  class="pull-right clearfix">
                    <ul>
                        <li><a href="https://www.facebook.com/cipatravel.montenegro" target="_blank" class="fb"></a></li>
                        <li><a href="https://twitter.com/cipatravel" target="_blank" class="tw"></a></li>
                        <li><a href="https://plus.google.com/" target="_blank" class="li"></a></li>
                        <li><a href="http://me.linkedin.com/in/cipatravel" target="_blank" class="gp"></a></li>
                    </ul>

                </div><!-- / social-->
                <div class="smallsep sepmargin1 pull-right"></div>
                <div id="infoline" class="pull-right">Info: +382 69 456 772</div>

            </div>

            <a id="logo" class="pull-left" href="<?= lang_url() ?>"><span class="in_text"><?= lang('specialist_vaction'); ?><span></a>

                        </div><!-- / header-->

                        <div class="container navtop">

                            <nav class="nav_<?= $this->lang->mci_current() ?>">
                                <?
                                    $navsel['home'] = '';
                                    $navsel['appartment'] = '';
                                    $navsel['hotel'] = '';
                                    $navsel['authentic'] = '';
                                    $navsel['hostel'] = '';
                                    $navsel['excursions'] = '';
                                    $navsel['rentacar'] = '';
                                    $navsel['transfers'] = '';

                                    $method = $this->router->fetch_method();

                                    switch ($method):

                                        case 'index':
                                            $navsel['home'] = 'active';
                                            break;
                                        case 'excursions':
                                        case 'excursion_view':
                                            $navsel['excursions'] = 'active';
                                            break;
                                        case 'rentacar':
                                            $navsel['rentacar'] = 'active';
                                            break;
                                        case 'transfers':
                                            $navsel['transfers'] = 'active';
                                            break;

                                    endswitch;

                                    if (isset($_GET['acc_type']))
                                        switch ($_GET['acc_type']) {
                                            case 'appartment':
                                                $navsel['appartment'] = 'active';
                                                break;
                                            case 'hotel':
                                                $navsel['hotel'] = 'active';
                                                break;
                                            case 'authentic accommodation':
                                                $navsel['authentic'] = 'active';
                                                break;
                                            case 'youth hostel':
                                                $navsel['hostel'] = 'active';
                                                break;
                                        }
                                ?>

                                <ul class="clearfix">

                                    <li class="<?= $navsel['home'] ?>"><a  href="<?= lang_url() ?>"><span><img src="<?= base_url() ?>assets/img/home.png" alt=""></span></a></li>

                                    <li class="<?= $navsel['appartment'] ?>"><a  href="<?= lang_url('search') ?>?acc_type=appartment&preview=1"><?= lang('nav.accommodation.private'); ?><br /> <small><?= lang('nav.private'); ?></small></a></li>

                                    <li class="<?= $navsel['hotel'] ?>"><a href="<?= lang_url('search') ?>?acc_type=hotel&preview=1"><?= lang('nav.hotels'); ?><br /> <small><?= lang('nav.hotels'); ?></small></a></li>

                                    <li class="<?= $navsel['authentic'] ?>"><a href="<?= lang_url('search') ?>?acc_type=authentic accommodation&preview=1"><?= lang('nav.accommodation'); ?><br /> <small><?= lang('nav.authentic'); ?></small></a></li>

                                    <li class="<?= $navsel['hostel'] ?>"><a href="<?= lang_url('search') ?>?acc_type=youth hostel&preview=1"><?= lang('nav.hostels'); ?><br /> <small><?= lang('nav.hostels_sub'); ?></small></a></li>

                                    <li class="<?= $navsel['transfers'] ?>"><a href="<?= lang_url('transfers') ?>"><?= lang('nav.transfers'); ?><br /> <small><?= lang('nav.transfers'); ?></small></a></li>

                                    <li class="<?= $navsel['rentacar'] ?>"><a href="<?= lang_url('rentacar') ?>"><?= lang('nav.rentacar'); ?><br /> <small><?= lang('nav.rentacar'); ?></small></a></li>

                                    <li class="<?= $navsel['excursions'] ?>"><a href="<?= lang_url('excursions') ?>"><?= lang('nav.excursions'); ?><br /> <small><?= lang('nav.excursions'); ?></small></a></li>

                                </ul>
                            </nav><!-- / nav-->

                            <?= $contents ?>

                        </div>

                        <footer class=clearfix>
                            <div class="block container fancy_bullets">
                                <ul class="clearfix centered">
                                    <li class="<?= $navsel['appartment'] ?>"><a  href="<?= lang_url('search') ?>?acc_type=appartment&preview=1"><?= lang('foot.private'); ?></a></li>
                                    <li class="<?= $navsel['hotel'] ?>"><a href="<?= lang_url('search') ?>?acc_type=hotel&preview=1"><?= lang('nav.hotels'); ?></a></li>
                                    <li class="<?= $navsel['authentic'] ?>"><a href="<?= lang_url('search') ?>?acc_type=authentic accommodation&preview=1"><?= lang('foot.authentic'); ?></a></li>
                                    <li class="<?= $navsel['hostel'] ?>"><a href="<?= lang_url('search') ?>?acc_type=youth hostel&preview=1"><?= lang('foot.youth'); ?></a></li>
                                    <li class="<?= $navsel['transfers'] ?>"><a href="<?= lang_url('transfers') ?>"><?= lang('nav.transfers'); ?></a></li>
                                    <li class="<?= $navsel['rentacar'] ?>"><a href="<?= lang_url('rentacar') ?>"><?= lang('nav.rentacar'); ?></a></li>
                                    <li class="<?= $navsel['excursions'] ?>"><a href="<?= lang_url('excursions') ?>"><?= lang('nav.excursions'); ?></a></li>
                                </ul>
                            </div>
                        </footer>



                        <div class="main_footer_wide">

                            <div id="footer-home" class="clearfix container">
                                <ul class="address pull-right">
                                    <li>Email: <a href="mailto:cipa@t-com.me">cipa@t-com.me</a></li>
                                    <li>Tel: +382 33 468 196</li>
                                    <li>Fax: +382 33 468 150</li>  
                                    <li>Skype: <a href="skype:cipa_booking?call">cipa_booking</a></li>
                                </ul>
                                <p>
                                    <a href="<?= lang_url() ?>" class="gohome ellipsis">Cipa Travel</a>
                                    <?= lang('foot.mon_fri'); ?>: 08:00 - 22:00 h<br>
                                    <?= lang('foot.sat'); ?>: 09:00 - 19:00 h
                                </p>
                            </div>

                            <div class="block container">
                                <ul class="general clearfix centered">
                                    <li><a href="<?= lang_url('cipatravel/how-to-make-reservation-34') ?>"><?= lang('foot.make_res'); ?>?</a></li>
                                    <li><a href="<?= lang_url('cipatravel/payment-options-36') ?>"><?= lang('foot.payment'); ?></a></li>
                                    <li><a href="<?= lang_url('cipatravel/termss-37') ?>"><?= lang('foot.terms'); ?></a></li>
                                    <li><a href="<?= lang_url('cipatravel/owners-cooperation-35') ?>"><?= lang('foot.owners'); ?></a></li>
                                    <li><a href="<?= lang_url('cipatravel/links') ?>"><?= lang('foot.links'); ?></a></li>
                                </ul>
                            </div>

                            <div class="block container">
                                <ul class="cards clearfix centered">
                                    <li><a href="javascript:"><img class="img-rounded" src="<?= base_url() ?>assets/img/cards/MasterCard.gif"></a></li>
                                    <li><a href="javascript:"><img class="img-rounded" src="<?= base_url() ?>assets/img/cards/Maestro.gif"></a></li>
                                    <li><a href="javascript:"><img class="img-rounded" src="<?= base_url() ?>assets/img/cards/Visa.gif"></a></li>
                                    <li><a href="javascript:"><img class="img-rounded" src="<?= base_url() ?>assets/img/cards/12367_sc_learn_62x34.gif"></a></li>
                                    <li><a href="javascript:"><img class="img-rounded" src="<?= base_url() ?>assets/img/cards/verified_by_visa_blue.gif"></a></li>
                                </ul>
                            </div>

                            <div class="foot-border-top"></div>
                            <div class="container">

                                <p id="copyright">All rights reserved by CipaTravel ® 1992-2013.<br/> Name and visual identity of www.cipa-booking.com  are trademarks belonging to Cipa d.o.o. Montenegro.</p>

                            </div>

                        </div>

                        <? $this->load->view('parts/scripts') ?>

                        </body>
                        </html>